import instance from 'utils/request';

export function uploadFileApi(formData: FormData) {
  return instance.post('/file/upload/', formData,{
    headers: {
      'Content-Type': 'multipart/form-data',
    },
  });
}